package com.testDemo.hutool;

import cn.hutool.system.HostInfo;
import cn.hutool.system.OsInfo;
import cn.hutool.system.SystemUtil;
import org.junit.jupiter.api.Test;

/**
 * @author: zour
 * @date: 2024/6/3
 * @description:
 */
public class SystemUtilTest {
    @Test
    public void getHostInfo(){
        HostInfo hostInfo = SystemUtil.getHostInfo();
        System.out.println(hostInfo);
    }
    @Test
    public void getOsInfo(){
        OsInfo osInfo = SystemUtil.getOsInfo();
        System.out.println(osInfo);
    }


}
